*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
/* 统一组件的代码 */
.container input[type="text"]{
    width: 350px;
    height: 35px;
    padding-left: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 5px 1px #ccc;
}
.container input[type="text"]:focus{
    outline: none;
    border-color: rgb(113, 193, 247);
}
.container input[type="text"]::placeholder{
    color:#ccc;
}
.container button{
    padding: 5px 10px;
    height: 35px;
    background-color: #F9F6AA;
    border: none;
    box-shadow: 1px 1px 5px 1px #818080;
    cursor: pointer;
    border-radius: 5px;
    margin: 1px;
}


.container{
    width: 450px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #FFF1F2;
    position: relative;
    box-shadow: 1px 1px 5px 1px #ccc;
}
.container h3{
    font-size: 36px;
    text-align: center;
}
.container .addTask{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0px;
}
.container .search{
    margin-top: 10px;
    margin-bottom: 10px;
}
.container .search input{
    width: 100%;
}
.container .tasklist li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px;
    background-color: #FFF7C7;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #D7D7D7;
    transition: ALL 0.3S ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .tasklist li .btn-group button{
    background-color: #FDCCCC;
    box-shadow: 1px 1px 5px 1px #ccc;
    font-weight: 20px;
}
.container .tasklist .complete{
    text-decoration: line-through;
    color: gray;
}

.container .footer{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #929292;
}
.container .edit{
    width: 350px;
    background-color: #FCFDC0;
    text-align: center;
    box-shadow: 1px 1px 5px 1px #ccc;
    /* position: absolute;
    top: 250px;
    left: 50px; */
    margin: 250px auto;
    padding-top: 10px;
    display: none;
}
.container .edit input{
    width: 300px;
    height:30px;
    margin-top: 20px;
}
.container .edit button{
    background-color: #FFB1B6;
    margin-top: 50px;
    margin-right: 20px;
    margin-bottom: 10px;
}
.over{
    color: #ccc;
}
.modal {
  display: none; /* 默认隐藏 */
  position: fixed; /* 固定定位 */
  z-index: 1; /* 确保在页面最上层 */
  left: 0;
  top: 0;
  width: 100%; /* 全宽 */
  height: 100%; /* 全高 */
  overflow: auto; /* 允许滚动条 */
  background-color: rgb(0,0,0); /* 黑色背景 */
  background-color: rgba(0,0,0,0.4); /* 半透明背景 */
}

